package com.weimob.mcloud.wechatwork.customer.service.user.enums;

import lombok.Getter;

/**
 * 是或否
 * @author yu liu
 * @date 2021/2/24
 * @since v5.2
 */
public enum YesOrNoEnum {

    NO(0, "否"),
    YES(1, "是")
    ;

    @Getter
    private Integer code;

    @Getter
    private String value;

    YesOrNoEnum(Integer code, String value) {
        this.code = code;
        this.value = value;
    }
}
